package org.jeecg.modules.achexampaperprojectitem.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.achexamination.vo.AchExaminationVo;
import org.jeecg.modules.achexampaperprojectitem.entity.AchExamPaperProjectItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.achexampaperprojectitem.vo.AchExamPaperProjectItemVo;

/**
 * @Description: ach_exam_paper_project_item
 * @author: baochangrong
 * @Date:   2022-03-16
 * @Version: V1.0
 */
public interface AchExamPaperProjectItemMapper extends BaseMapper<AchExamPaperProjectItem> {

    /**
     * 全部Vo查询 附带关联名称
     * listVoAll
     */
    List<AchExamPaperProjectItemVo> listVoAll(Page<AchExamPaperProjectItemVo> page,@Param("achExamPaperProjectItemVo") AchExamPaperProjectItemVo achExamPaperProjectItemVo);

    /**  根据试卷id 获取分项数据
     * listByAchExamPaperId
     * */
    List<AchExamPaperProjectItem>listByAchExamPaperId(Page<AchExamPaperProjectItem> page, String tenantId,String  examinationPaperId);

    /**  根据试卷id 获取分项评分标准 Vo查询
     * 附带评分标准
     * getAchExamProjectItemStandard
     * */
    List<AchExamPaperProjectItemVo> getAchExamProjectItemStandard(Page<AchExamPaperProjectItemVo> page,String tenantId,String examinationPaperId);

}
